package com.goblin.model.order.po;

import com.goblin.model.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Table(name = "t_order_logistics")
@Entity
public class payHistory extends BaseEntity {

    @Column(name = "order_code", columnDefinition = "varchar(255) COMMENT '订单编号'")
    private String orderCode;

    @Column(name = "pay_type", columnDefinition = "varchar(4) COMMENT '支付方式'")
    private String payType;

    @Column(name = "sum_price", columnDefinition = "double(10,2) COMMENT '订单总额'")
    private Double sumPrice;

    @Column(name = "pay_price", columnDefinition = "double(10,2) COMMENT '支付金额'")
    private Double payPrice;

    @Column(name = "remark", columnDefinition = "varchar(255) COMMENT '备注'")
    private String remark;

}
